package com.example.demotest.pojo.dto;

import jakarta.validation.constraints.NotNull;

public class ChatCreateDto {
    @NotNull(message = "商品ID不能为空")
    private Long productId;

    @NotNull(message = "初始消息不能为空")
    private String initialMessage;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getInitialMessage() {
        return initialMessage;
    }

    public void setInitialMessage(String initialMessage) {
        this.initialMessage = initialMessage;
    }
}